package com.zyk.scaffold.user.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 用户信息
 * </p>
 *
 * @author zhouyk
 * @since 2021-09-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TenantUserInfoDTO extends UserInfoDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 租户编码
     */
    private String tenantCode;

    /**
     * 租户名称
     */
    private String tenantName;

    /**
     * roles
     */
    private List<String> roles;

    /**
     * 菜单code-apis
     */
    private List<Map<String, Object>> menuApis;

    /**
     * 菜单code-functions
     */
    private List<Map<String, Object>> menuFunctions;
}
